<?php $this->load->view('tourism/layout/header') ?>
<div class="all-orders page1">
    <header class="seek-head">
        <a href="javascript:goHistoryBack();" class="seek-return">
            <i class="iconfont icon-zuojiantou"></i>
        </a>
        <div class="seek-center">
            <div class="seek-input Toprev"><?php echo $this->input->get('keyword') ? trimall($this->input->get('keyword')): '搜索站点内商品';?></div>
            <i class="iconfont icon-sousuo"></i>
        </div>
        <div class="seek-mrod">
            <?php $this->load->view('tourism/layout/nav'); ?>
        </div>
    </header>
    <div class="seek-test seek seek-provider widthMax" >
        <ul class="am-cf seek-list">
            <li class="outer active" data-am-dropdown>
                <div class="outer-click comprehensive am-dropdown-toggle">
                    <span>综合排序</span>
                    <i class="iconfont icon-xialajiantou"></i>
                </div>
                <div class="seek-sort sort provider-price am-dropdown-content">
                    <ul>
                        <li class="active seek-sort-type" sort="6">
                            <i class="iconfont icon-paixu1"></i>综合排序
                        </li>
                        <li class="seek-sort-type" sort="8">
                            <i class="iconfont icon-xiangxiajiantou"></i>价格从高到低
                        </li>
                        <li class="seek-sort-type" sort="7">
                            <i class="iconfont icon-xiangshangjiantou"></i>价格从低到高
                        </li>
                    </ul>
                </div>
            </li>
            <li class="outer" data-am-dropdown>
                <div class="outer-click comprehensive am-dropdown-toggle">
                    <span>销量排序</span>
                    <i class="iconfont icon-xialajiantou"></i>
                </div>
                <div class="seek-sort sort provider-sale am-dropdown-content">
                    <ul>
                        <li sort="4">
                            <i class="iconfont icon-xiangxiajiantou"></i>销量从高到低
                        </li>
                        <li sort="3">
                            <i class="iconfont icon-xiangshangjiantou"></i>销量从低到高
                        </li>
                    </ul>
                </div>
            </li>
            <li class="outer" data-am-dropdown>
                <div class="outer-click am-dropdown-toggle">
                    <span>分类</span>
                    <i class="iconfont icon-xialajiantou"></i>
                </div>
                <div class="seek-sort provider-category am-dropdown-content">
                    <div class="sort-isory" id="category-list">
                        <?php if($providerCategory->num_rows() > 0):?>
                            <ul>
                                <li class="sort-category <?php if(empty($category_id)):?>active<?php endif;?>" category_id=''>全部</li>
                                <?php foreach($providerCategory->result() as $item):?>
                                <li class="sort-category <?php if(isset($category_id) && ($category_id==$item->id)):?>active<?php endif;?>" category_id="<?php echo $item->id;?>">
                                    <?php echo $item->category_name;?>
                                </li>
                                <?php endforeach;?>
                            </ul>
                        <?php endif;?>
                    </div>
                </div>
            </li>
        </ul>
        <div class="scy-provider-waper" provider-uid="<?php echo $providerUid;?>" sort="<?php echo isset($sort)?$sort:'';?>" category_id="<?php echo isset($category_id)?$category_id:'';?>" keyword="<?php echo isset($keyword)?$keyword :'';?>">
            <div class="scy-provider-isory">
                <div class="provider-list">
                    <?php $this->load->view('tourism/tourismprovider/list')?>
                </div>
                <div class="provider-more-show" <?php if($recommendProduct->num_rows()<12):?>style="display:none;"<?php endif;?>>
                     <i class="iconfont am-animation-spin icon-jiazaizhong"></i>
                </div>
            </div>
        </div>
    </div>
     <div class="seek-shade"></div>
</div>
<div data-am-widget="gotop" class="am-gotop am-gotop-fixed return-head">
    <a href="#top" title="回到顶部">
        <i class="iconfont icon-huidaodingbu"></i>顶部
    </a>
</div>
<?php $this->load->view('tourism/tourismprovider/search')?>
<?php $this->load->view('tourism/layout/footer') ?>